﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using canthovieclam.BL.Models;

namespace canthovieclam.Models
{
    public class PostModels
    {
        [Required]
        [Display(Name = "Job title")]
        public string JobTitle { get; set; }

        [Required]
        [Display(Name = "Job description")]
        public string JobDescription { get; set; }

        [Required]
        [Display(Name = "Job requirement")]
        public string JobRequirement { get; set; }

        [Required]
        [Display(Name = "Job category")]
        public Guid JobCatetoryId { get; set; }

        [Required]
        [Display(Name = "Location")]
        public int LocationId { get; set; }

        [Required]
        [Display(Name = "Salary type")]
        public int SalaryType { get; set; }

        [Display(Name = "From salary")]
        public float FromSalary { get; set; }

        [Display(Name = "To salary")]
        public float ToSalary { get; set; }

        [Display(Name = "Employment length")]
        public List<JobAttributeModel> EmploymentLength { get; set; }

        [Display(Name = "Employment type")]
        public List<JobAttributeModel> EmploymentType { get; set; }

        [Display(Name = "Gender")]
        public int Gender { get; set; }

        [Display(Name = "From age")]
        public int FromAge { get; set; }

        [Display(Name = "To age")]
        public int ToAge { get; set; }

        [Required]
        [Display(Name = "Experience")]
        public int Experience { get; set; }

        [Display(Name = "From year")]
        public int FromYear { get; set; }

        [Required]
        [Display(Name = "Career level")]
        public int CareerLevel { get; set; }

        [Display(Name = "Qualification")]
        public int Qualification { get; set; }
    }
}